package com.daoserver;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.stream.annotation.EnableBinding;

import com.daoserver.mq.InPutBarista;

/**
 * 接收消息
 * 
 * @author super
 *
 */
@EnableBinding({InPutBarista.class}) // 绑定mq接口
@EnableDiscoveryClient
@SpringBootApplication
public class InPutServiceApplication {

	public static void main(String[] args) {
		new SpringApplicationBuilder(InPutServiceApplication.class).web(true).run(args);
	}
	
}
